package models

import (
	"gitee.com/libwiki/lib-mall/package/vars"
)

const (
	StoreTypeVirtual vars.Enum = "virtual" // 实体店
	StoreTypeReality vars.Enum = "reality" // 虚拟店

	GoodsTypeLogistics vars.Enum = "logistics" // 物流商品
	GoodsTypeVirtual   vars.Enum = "virtual"   // 虚拟商品
	GoodsTypeService   vars.Enum = "service"   // 服务商品

	GoodsSourceTypeAgent   vars.Enum = "agent"   // 可代理货源
	GoodsSourceTypeProduct vars.Enum = "product" // 自卖货源

	AuditStatusWait    vars.Enum = "wait"    // 待审核
	AuditStatusSuccess vars.Enum = "success" // 审核通过
	AuditStatusFail    vars.Enum = "fail"    // 审核失败

	GenderMale   vars.Enum = "male"   // 男性
	GenderFemale vars.Enum = "female" // 女性
)

var (
	StoreTypes = []vars.Enum{StoreTypeVirtual, StoreTypeReality} // 店铺类型

	GoodsTypes = []vars.Enum{GoodsTypeLogistics, GoodsTypeVirtual, GoodsTypeService} // 商品类型

	GoodsSourceTypes = []vars.Enum{GoodsSourceTypeAgent, GoodsSourceTypeProduct} // 货源类型

	AuditStatusTypes = []vars.Enum{AuditStatusWait, AuditStatusSuccess, AuditStatusFail} // 审核状态

	Gender = []vars.Enum{GenderMale, GenderFemale} // 性别
)
